package com.ziru.ziru.utils;

import javax.print.attribute.standard.MediaSize;

/**
 * @author 缘友一世
 * date 2023/5/31-9:27
 */
public class OrderHandler {
    public String setFlag(String rule,String flag) {
        switch (rule) {
            case "room_id" :
                flag= String.valueOf('1');
                break;
            case "room_price":
                flag= String.valueOf(2);
                break;
            default:
                flag= String.valueOf(3);
        }
        return flag;
    }
}
